package com.quick.platform.modules.customer.model.entity;

import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quick.platform.common.base.BaseEntity;

/**
 * 客户信息实体对象
 *
 * @author yangyl
 * @since 2025-04-18 10:03
 */
@Getter
@Setter
@TableName("customer")
public class Customer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 客户编码
     */
    private String customerCode;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 联系人
     */
    private String contactPerson;
    /**
     * 联系电话
     */
    private String contactPhone;
    /**
     * 客户类型   'wholesaler','retailer','individual'
     */
    private String customerType;
    /**
     * 信用等级  'A','B','C','D'
     */
    private String creditRating;
    /**
     * 地址
     */
    private String address;
    /**
     * 创建人
     */
    private Long createdBy;
    /**
     * 状态   0：'active'    1：'inactive'
     */
    private Integer status;
}
